package com.eazy.lkv2.web.service.system.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.eazy.lkv2.web.mapper.system.PermissionMapper;
import com.eazy.lkv2.web.service.system.SystemPermissionService;

@Service
public class SystemPermissionServiceImpl  implements SystemPermissionService {

	@Autowired
	private PermissionMapper permissionMapper;

	@Override
	public List<Map<String, Object>> permissionList(String currentUserId) {
		return permissionMapper.permissionList(currentUserId);
	}

	@Override
	public List<Map<String, Object>> getUserPermission(String roleId) {
		return permissionMapper.getUserPermission(roleId);
	}
	
	
}
